home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 642 < prev    next >
Encoding:
Text File  |  1996-08-06  |  857 b   |  32 lines

  1. Newsgroups: comp.lang.c++
  2. Path: artemis.sto.fdata.se!news
  3. From: Niklas Mellin <niklas.mellin@sto.fdata.se>
  4. Subject: Re: about for loop
  5. Sender: news@artemis.sto.fdata.se (UseNet NetNews)
  6. Message-ID: <30ED38DE.141D@sto.fdata.se>
  7. Date: Fri, 5 Jan 1996 14:42:38 GMT
  8. Content-Transfer-Encoding: 7bit
  9. Content-Type: text/plain; charset=us-ascii
  10. References: <4civik$cmg@peter.pu.edu.tw>
  11. Mime-Version: 1.0
  12. X-Mailer: Mozilla 2.0b4 (WinNT; I)
  13. Organization: WM-data F÷rsvarsdata AB, Sweden
  14.  
  15. s8311116@csim49.pu.edu.tw wrote:
  16. >   if i write this for loop"for(i=0 ; i<=10 ; i++ )
  17. >                            cout<< i ;
  18. >   the result should be " 12345678910 " or " 0123456789 " ?
  19.  
  20. No!
  21. The output should be: 012345678910
  22.  
  23. >   and what is "double linked list " ??
  24. >   thanks!
  25.  
  26. A list with links in both directions, so you can step forward
  27. or backwards in it.
  28.  
  29. ---
  30. Niklas
  31.